package com.cn.shuangzi.userinfo.activity;

import android.view.View;

import com.cn.shuangzi.SZBaseActivity;
import com.cn.shuangzi.activity.SZInterfaceActivity;
import com.cn.shuangzi.userinfo.R;

/**
 * Created by CN.
 */

public abstract class SZAccountSafeActivity extends SZBaseActivity implements SZInterfaceActivity {
    @Override
    protected int onGetChildView() {
        return R.layout.activity_account_safe;
    }

    @Override
    protected void onBindChildViews() {
    }

    @Override
    protected void onBindChildListeners() {
        findViewById(R.id.txtCancellationAccount).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(getCancellationAccountConditionActivity());
            }
        });
    }

    @Override
    protected void onChildViewCreated() {
        onChildViewCreatedPre();
        showBackImgLeft(getBackImgLeft());
        setTitleTxt(R.string.txt_account_safe);
    }

    @Override
    protected void onReloadData(boolean isRefresh) {

    }
    public abstract Class getCancellationAccountConditionActivity();
}
